package com.example.weli.ble2test;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.webkit.WebView;
import android.widget.Button;

public class help extends Activity {
    static final String encoding = "utf-8";
    static final String mimeType = "text/html";
    private Button mSendButton;
    private WebView webv;

    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.help);
        setTitle("\u84dd\u7259\u4e32\u53e3\u52a9\u624b\u5e2e\u52a9");
        this.webv = (WebView) findViewById(R.id.web1);
        try {
            this.webv.loadUrl("file:///android_asset/help.html");
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        this.mSendButton = (Button) findViewById(R.id.btnCode2);
        this.mSendButton.setOnClickListener(new OnClickListener() {
            public void onClick(View v) {
                help.this.finish();
            }
        });
    }

    protected void onDestroy() {
        super.onDestroy();
    }
}
